<ui:composition xmlns="http://www.w3.org/1999/xhtml"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:c="http://java.sun.com/jstl/core"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:a4j="http://richfaces.org/a4j"
	xmlns:rich="http://richfaces.org/rich"
	xmlns:faces="http://java.sun.com/jsf/composite/faces/components"
	xmlns:facesex="http://www.onionframework.org/components/facesex"
	template="/faces/template/form.xhtml">
	
	<ui:param name="action" value="#{code.codeType}" />
	
	<ui:define name="formItems">
		<faces:formBox title="代码类型信息">
			<faces:inputTextItem label="名称" value="#{action.entity.name}"/>
			<faces:inputTextareaItem label="说明" value="#{action.entity.description}"/>
		</faces:formBox>
	</ui:define>
	<ui:define name="formButtons">
		<faces:button value="保存" action="#{action.save}"
			render="#{faces.tools.tableRender}"
			onsuccess="onion.faces.formPanel.hide();"/>
		<faces:closeFormButton/>
	</ui:define>
</ui:composition>